const express = require('express')
const router = express.Router()

const asyncHandler = require('../util/asyncHandler')
const fs = require('fs')


router.get('/test', function (req, res) {

    fs.writeFile('./server/ztest/demo.txt', 'jijiangyaosxiede', err => {
        if (err != null) {
            console.log(err);
            return;
        }
        console.log('wenjian成功');
    }
    )


    res.end('111111111111111')
})




module.exports = router
